package com.plum.admin.modules.quartz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.plum.admin.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 子丶沫
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_quartz_job")
@ApiModel(value="SysQuartzJob对象", description="")
public class SysQuartzJob extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField("cron_expression")
    @ApiModelProperty(value = "表达式")
    private String cronExpression;

    @TableField("description")
    @ApiModelProperty(value = "任务描述")
    private String description;

    @TableField("job_class_name")
    @ApiModelProperty(value = "任务全类名")
    private String jobClassName;

    @TableField("parameter")
    @ApiModelProperty(value = "参数")
    private String parameter;

    @TableField("status")
    @ApiModelProperty(value = "状态 0暂停 1恢复")
    private Integer status;


}
